package com.tutu.cmn;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Program: yygh_parent
 * @Description: service-cmn服务启动类
 * @Author: JK.TuTu
 * @Create: 2022-09-18 17:51
 **/
@SpringBootApplication
@EnableCaching
@ComponentScan(basePackages = "com.tutu.cmn")
@Slf4j
@EnableDiscoveryClient
public class ServiceCmnApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceCmnApplication.class,args);
        log.info("service-cmn服务启动成功");
    }
}
